package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_amazonproduct].[dbo].TP_AmazonShopProductCount", catalog="Id")
public class TpAmazonShopProductCount extends BaseEntity<TpAmazonShopProductCount> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ShopProductId", nameJava="shopProductId", typeDataBase="bigint")
	private Long shopProductId;
	@YsField(nameDataBase="ShopProductGuid", nameJava="shopProductGuid", typeDataBase="varchar")
	private String shopProductGuid;
	@YsField(nameDataBase="Info", nameJava="info", typeDataBase="text")
	private String info;
	@YsField(nameDataBase="InfoTime", nameJava="infoTime", typeDataBase="char")
	private String infoTime;
	@YsField(nameDataBase="ProductName", nameJava="productName", typeDataBase="varchar")
	private String productName;
	@YsField(nameDataBase="VGsJc", nameJava="vGsJc", typeDataBase="varchar")
	private String vGsJc;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="UserName", nameJava="userName", typeDataBase="varchar")
	private String userName;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonShopProductCount setId(Long id) {
		this.id = id;
		return this;
	}
	public Long getShopProductId() {
		return shopProductId;
	}
	public TpAmazonShopProductCount setShopProductId(Long shopProductId) {
		this.shopProductId = shopProductId;
		return this;
	}
	public String getShopProductGuid() {
		return shopProductGuid;
	}
	public TpAmazonShopProductCount setShopProductGuid(String shopProductGuid) {
		this.shopProductGuid = shopProductGuid;
		return this;
	}
	public String getInfo() {
		return info;
	}
	public TpAmazonShopProductCount setInfo(String info) {
		this.info = info;
		return this;
	}
	public String getInfoTime() {
		return infoTime;
	}
	public TpAmazonShopProductCount setInfoTime(String infoTime) {
		this.infoTime = infoTime;
		return this;
	}
	public String getProductName() {
		return productName;
	}
	public TpAmazonShopProductCount setProductName(String productName) {
		this.productName = productName;
		return this;
	}
	public String getVGsJc() {
		return vGsJc;
	}
	public TpAmazonShopProductCount setVGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TpAmazonShopProductCount setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public TpAmazonShopProductCount setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TpAmazonShopProductCount setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public TpAmazonShopProductCount setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonShopProductCount setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonShopProductCount setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonShopProductCount setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonShopProductCount tpAmazonShopProductCount(
		Long shopProductId,
		String shopProductGuid,
		String info,
		String infoTime,
		String productName,
		String vGsJc,
		String shopName,
		String userName,
		String vGsBm,
		String userId,
		Integer status
			) {
		TpAmazonShopProductCount entity = new TpAmazonShopProductCount();
		entity.setShopProductId(shopProductId);
		entity.setShopProductGuid(shopProductGuid);
		entity.setInfo(info);
		entity.setInfoTime(infoTime);
		entity.setProductName(productName);
		entity.setVGsJc(vGsJc);
		entity.setShopName(shopName);
		entity.setUserName(userName);
		entity.setVGsBm(vGsBm);
		entity.setUserId(userId);
		entity.setStatus(status);
		return entity;
	}
}